import 'package:flutter/material.dart';
import 'package:hospitable_rental/application.dart';
import 'package:hospitable_rental/viewmodels/auth_viewmodel.dart';
import 'package:hospitable_rental/viewmodels/city_viewmodel.dart';
import 'package:hospitable_rental/viewmodels/filter_bar_viewmodel.dart';
import 'package:provider/provider.dart';

void main() => runApp(
      MultiProvider(
        providers: [
          ChangeNotifierProvider(create: (_) => FilterBarViewModel()),
          ChangeNotifierProvider(create: (_) => AuthViewModel()),
          ChangeNotifierProvider(create: (_) => CityViewModel()),
        ],
        child: Application(),
      ),
    );
